#ifndef _CSURFACE_H_
    #define _CSURFACE_H_

#include <SDL/SDL.h>
#include <SDL_ttf/SDL_ttf.h>
#include "CCamera.h"



class CSurface {
	public:
		CSurface();

	public:
		static SDL_Surface* OnLoad(char* File);

        static bool OnDraw(SDL_Surface* Surf_Dest, SDL_Surface* Surf_Src, int XdebutImageDestination, int YdebutImageDestination);

		static bool OnDraw(SDL_Surface* Surf_Dest, SDL_Surface* Surf_Src, int XdebutImageDestination, int YdebutImageDestination,
                            int XdebutImageOrigine, int YdebutImageOrigine, int width, int height);

		static bool Transparent(SDL_Surface* Surf_Dest, int R, int G, int B);

        static bool OnDrawText(SDL_Surface* Surf_Dest, char *text, int X, int Y, int tailleFont, int largeurTexte=0);

		static bool OnDrawText(SDL_Surface* Surf_Dest, char *text, int X, int Y, int tailleFont, int foreRed, int foreGreen, int foreBlue, int largeurTexte=0);

		static bool OnDrawText(SDL_Surface* Surf_Dest, char *text, int X, int Y, int tailleFont,
								int foreRed, int foreGreen, int foreBlue, int backRed, int backGreen, int backBlue, int largeurTexte=0);
};

#endif